package org.lanqiao.service.impl;

import javax.annotation.Resource;

import org.lanqiao.dao.AdminLogindao;
import org.lanqiao.entity.AdminLogin;
import org.lanqiao.service.AdminLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class AdminLoginServiceImpl implements AdminLoginService {
	@Resource
	AdminLogindao adminLogindao;
	/**
	 * 
	 */
	
	public AdminLogin Login(AdminLogin adminlogin) {
		// TODO Auto-generated method stub
		return adminLogindao.Login(adminlogin);
	}

	
	public Integer update(AdminLogin adminlogin) {
		// TODO Auto-generated method stub
		return adminLogindao.update(adminlogin);
	}

	
	public int Change(AdminLogin adminlogin, String npsw) {
		// TODO Auto-generated method stub
		return adminLogindao.Change(adminlogin, npsw);
	}

}
